<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>爱学知识 - 有趣又有用的知识</title>
        <%= stylesheet_link_tag 'hunters/style'%>
        <%= javascript_include_tag :defaults %>
        <%= yield :header %>
    </head>
	<body>	
		<div id="main_container">
			<div class="top_leafs"></div>
			<div id="header">
				<div class="logo">
					<a href="/">爱学知识</a>
				</div>
								 
				<div class="menu">
					<ul>
						<li ><a href="/">主页</a></li>
						<li class="selected"><a href="/home/about">关于</a></li>
						<!--
						<li><a href="#">财富地图</a></li>
						<li><a href="#">照片</a></li>
						<li><a href="#">联系我们</a></li>
						-->
					</ul>
				</div>
				<!-- end #menu -->
				
				<div id="flash">
					<% [:error, :warning, :notice].each do |key| -%>
						<%= content_tag :div, flash[key], :id=> key, :class => key if flash[key] %>
					<% end -%>
				</div>
				<!-- end #flash -->
				
			</div>
			
			<div id="center_content">
				<div class="article">
					<%= yield %>
				</div>
				<!-- endof #right_content -->
				
				<div class="bottom_content">
					<div class="bottom_content_head"></div>
					<div id="postbox_container">
						<div id="postbox">
							<div class="title">发布知识(要先登陆才行):</div>
							<textarea id="zhishibox" name="zhishi" rows="5" cols="85">这里是你要写的知识</textarea>
							<input type="submit" class="fly" value="确定"/>
							<div class="clear"></div>
						</div>
					</div>
					<div class="footer">&copy; hontlong.com 2010</div>	
				</div>
			</div>
		</div>
	</body>    
</html>
